package com.example.demo.service.impl;

import com.example.demo.dao.TestDao;
import com.example.demo.service.TestService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class TestServiceImpl implements TestService {
    @Resource
    private TestDao testDao;

    @Override
    public void test() {
        System.out.println(testDao.test());
    }
}
